A Documentation Generator for (C)LP Systems
نویسنده
چکیده
Abs t r ac t . We describe lpdoc, a tool which generates documentation manuals automatically from one or more logic program source files, written in Ciao, ISO-Prolog, and other (C)LP languages. It is particularly useful for documenting library modules, for which it automatically generates a rich description of the module interface. However, it can also be used quite successfully to document full applications. A fundamental advantage of using lpdoc is that it helps maintaining a true correspondence between the program and its documentation, and also identifying precisely to what versión of the program a given printed manual corresponds. The quality of the documentation generated can be greatly enhanced by including within the program text assertions (declarations with types, modes, etc. ...) for the predicates in the program, and machine-readable comments. One of the main novelties of lpdoc is that these assertions and comments are written using the Ciao system asseriion language, which is also the language of communication between the compiler and the user and between the components of the compiler. This allows a significant synergy among specification, debugging, documentation, optimization, etc. A simple compatibility library allows conventional (C)LP systems to ignore these assertions and comments and treat normally programs documented in this way. The documentation can be generated interactively from emacs or from the command line, in many formats including texinfo, dvi, ps, pdf, info, a sc i i , html/css , Unix nroff/man, Windows help, etc., and can include bibliographic citations and images, lpdoc can also genérate "man" pages (Unix man page format), nicely formatted plain ASCII "readme" files, installation scripts useful when the manuals are included in software distributions, brief descriptions in html/css or info formats suitable for inclusión in on-line Índices of manuals, and even complete WWW and info sites containing on-line catalogs of documents and software distributions. The lpdoc manual, all other Ciao system manuals, and parts of this paper are generated by lpdoc.
منابع مشابه
Documentation Generator Focusing on Symbols for the HTML-ized Mizar Library
The purpose of this project is to collect symbol information in the Mizar Mathematical Library and manipulate it into practical and organized documentation. Inspired by the MathWiki project and API reference systems for computer programs, we developed a documentation generator focusing on symbols for the HTML-ized Mizar library. The system has several helpful features, including a symbol list, ...
متن کاملA System for Automatically Generating Documentation for (C)LP Programs
We describe lpdoc , a tool which generates documentation manuals automatically from one or more logic program source files, written in ISO-Prolog, Ciao, and other (C)LP languages. It is particularly useful for documenting library modules, for which it automatically generates a rich description of the module interface. However, it can also be used quite successfully to document full applications...
متن کاملInformed Consent Documentation for Lumbar Puncture in the Emergency Department
INTRODUCTION Informed consent is a required process for procedures performed in the emergency department (ED), though it is not clear how often or adequately it is obtained by emergency physicians. Incomplete performance and documentation of informed consent can lead to patient complaints, medico-legal risk, and inadequate education for the patient/guardian about the procedure. We undertook thi...
متن کاملSpace Vector Control Scheme of Three Level ZSI Applied to Wind Energy Systems
In this paper the Space Vector Control Scheme is implemented for a Wind Energy System using Three Level Impedance Source Inverter (ZSI). The wind energy system uses a Self Excited Induction generator (SEIG) which is the most emerging application in the field of Wind Energy Conversion System (WECS). The proposed system is modelled with a generator-side Diode Bridge Rectifier and a Stand-Alone si...
متن کاملThe Identification Problem for complex-valued Ornstein-Uhlenbeck operators in Lp(Rd,CN)
for simultaneously diagonalizable matrices A,B ∈ C . The unbounded drift term is defined by a skew-symmetric matrix S ∈ R. Differential operators of this form appear when investigating rotating waves in time-dependent reaction diffusion systems. We prove under certain conditions that the maximal domain D(Ap) of the generator Ap belonging to the OrnsteinUhlenbeck semigroup coincides with the dom...
متن کامل